package com.ftj.service;

import com.ftj.entity.AdminUser;

/**
 * Created by 21seu.ftj on 2020/9/13 17:02
 * @author 21seu.ftj
 */
public interface AdminUserService {

    AdminUser login(String userName, String password);

    AdminUser getUserDetailById(Integer loginUserId);

    boolean updateName(Integer loginUserId, String loginUserName, String nickName);

    boolean updatePassword(Integer loginUserId, String originalPassword, String newPassword);
}
